package com.yilijk.base.oss.bean;

public class OssConfigBean {


    /**
     * code : 200
     * message : 获取token成功
     * data : {"accessKeyId":"LTAI4GCw8xHFAzvGUH1Wq2mz","policy":"eyJleHBpcmF0aW9uIjoiMjAyMS0wOC0wMlQwODo0NjozMS42OTdaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJ0ZXN0LyJdXX0=","signature":"OrvmwOG2xTdB6tymPSe8FMTdb9s=","startWith":"test/","ossHost":"http://cn-shanghai-aliyun-cloudauth-1844394185333243.oss-cn-shanghai.aliyuncs.com/","expire":"1627893991"}
     */

    private int code;
    private String message;
    /**
     * accessKeyId : LTAI4GCw8xHFAzvGUH1Wq2mz
     * policy : eyJleHBpcmF0aW9uIjoiMjAyMS0wOC0wMlQwODo0NjozMS42OTdaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJ0ZXN0LyJdXX0=
     * signature : OrvmwOG2xTdB6tymPSe8FMTdb9s=
     * startWith : test/
     * ossHost : http://cn-shanghai-aliyun-cloudauth-1844394185333243.oss-cn-shanghai.aliyuncs.com/
     * expire : 1627893991
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String accessKeyId;
        private String policy;
        private String signature;
        private String startWith;
        private String ossHost;
        private String expire;
        private String dir;

        public String getDir() {
            return dir;
        }

        public void setDir(String dir) {
            this.dir = dir;
        }

        public String getAccessKeyId() {
            return accessKeyId;
        }

        public void setAccessKeyId(String accessKeyId) {
            this.accessKeyId = accessKeyId;
        }

        public String getPolicy() {
            return policy;
        }

        public void setPolicy(String policy) {
            this.policy = policy;
        }

        public String getSignature() {
            return signature;
        }

        public void setSignature(String signature) {
            this.signature = signature;
        }

        public String getStartWith() {
            return startWith;
        }

        public void setStartWith(String startWith) {
            this.startWith = startWith;
        }

        public String getOssHost() {
            return ossHost;
        }

        public void setOssHost(String ossHost) {
            this.ossHost = ossHost;
        }

        public String getExpire() {
            return expire;
        }

        public void setExpire(String expire) {
            this.expire = expire;
        }
    }
}
